package com.bluefish.bltuan.service;

import java.util.List;

import com.bluefish.bltuan.module.Category;
import com.bluefish.bltuan.module.mail.Subscriber;
import com.bluefish.bltuan.util.PageIndex;

public interface SubscriberService extends BasicService<Subscriber, Integer>{

	boolean subscribe(String email, Category city);
	
	boolean unSubscribe(String email);
	
	List<Subscriber> listAll();

	List<Subscriber> list(PageIndex pageIndex);
}
